package com.japancompany.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.japancompany.entity.Category;
import java.util.List;

public interface CategoryService extends IService<Category> {
    
    List<Category> getCategoryList();
    
    List<Category> getCategoryTree();
    
    boolean createCategory(Category category);
    
    boolean updateCategory(Category category);
    
    boolean deleteCategory(Long id);
}